﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link rel="icon" href="@Url.Content("~/Content/favicon.png")"/>
    
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>

    <link href="@Url.Content("~/Content/jquery-ui-smoothness.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.10.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.10.4.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>Electros Ltd</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <hr style="height: 1px; width:80%; background-color:#c3c3c3; border:none"/>
            <div id="menuContainer">
                <ul id="menu">
                    @foreach (Common.Menu m in ViewBag.Menus)
                    {
                        <li>@Html.ActionLink(@m.Title, @m.Action, @m.URL)</li>
                    }
                </ul>
            </div>
        </div>

        <div id="main">
            @RenderBody()
        </div>

        <div id="footer">
            Copyright Janica Saliba Spiteri
        </div>
    </div>
</body>
</html>
